package com.li.pojo;

public class Student {
    private String sno ;//char(12) PRIMARY KEY,--学号
    private String sname; //char(10),--姓名
    private String ssex;// char(2) default '男'check(ssex in('男','女')),
    private String stel;// char(11),--电话
    private String sclass;// char(20),--班级
    private String sdept;// char(20) --住址

    public Student() {
    }

    public Student(String sno) {
        this.sno = sno;
    }

    public String getSno() {
        return sno;
    }

    public void setSno(String sno) {
        this.sno = sno;
    }

    public String getSname() {
        return sname;
    }

    public void setSname(String sname) {
        this.sname = sname;
    }

    public String getSsex() {
        return ssex;
    }

    public void setSsex(String ssex) {
        this.ssex = ssex;
    }

    public String getStel() {
        return stel;
    }

    public void setStel(String stel) {
        this.stel = stel;
    }

    public String getSclass() {
        return sclass;
    }

    public void setSclass(String sclass) {
        this.sclass = sclass;
    }

    public String getSdept() {
        return sdept;
    }

    public void setSdept(String sdept) {
        this.sdept = sdept;
    }
}
